-- GENERATED SPELL FOR [Northsea Mercenary] --


function spell0_25839(pUnit, Event) --@Crazed,Self--
pUnit:FullCastSpellOnTarget(5915,pUnit)
pUnit:RegisterEvent('Sorts_25839', 597, 1)
end

function Sorts_25839(pUnit, Event)
local choix_sorts_25839 = math.random(0, 0)
if choix_sorts_25839 == 0 then
pUnit:RegisterEvent('spell0_25839', 1, 1)
end
end

function mob25839_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25839', math.random(1500, 3000), 1)
end

function mob25839_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25839_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25839_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25839, 1, 'mob25839_Action')
RegisterUnitEvent(25839, 2, 'mob25839_Leave')
RegisterUnitEvent(25839, 3, 'mob25839_Kill')
RegisterUnitEvent(25839, 4, 'mob25839_Die')
